<template>
	<view class="Mylorder">
		<view class="Mylordernum">
			共5件
		</view>
		<!-- 开始 -->
		<view class="Mylorderbox" v-for="(ele,index) in idlists " :key='index'>
			<!-- {{ele}} -->
				<view class="Mylorderboximg">
				<image :src="ele.image" mode=""></image>
			</view>
			<view class="Mylorderboxdesc">
				<view class="">
					{{ele.id}}
				</view>
				<view class="colornum">
					颜色:005
					<text class="Mylorderrmb">￥{{ele.num}}</text>
				</view>
			</view>
			<!-- 	<view class="Mylorderboximg">
				<image src="../../static/images/1.jpg" mode=""></image>
			</view>
			<view class="Mylorderboxdesc">
				<view class="">
					Gelartist底胶免洗磨砂封层擦洗封层加固胶美甲功能胶甲油胶
				</view>
				<view class="colornum">
					颜色:005
					<text class="Mylorderrmb">￥364</text>
				</view>
			</view> -->
		</view>
		<!-- 结束 -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				idlists:[]
			}
		},
		async mounted() {
			let idlist = await this.$api.json('idlist');
			this.idlists = idlist
		}
	}
</script>

<style scoped>
	.Mylordernum {
		width: 100%;
		height: 40px;
		line-height: 40px;
		background: #fff;
		border-bottom: 1px solid #333333;
		text-align: center;
	}

	.Mylorderbox {
		width: 100%;
	}

	.Mylorderbox>view {
		padding-top: 10px;
		padding-bottom: 6px;
		padding-left: 10px;
		background-color: #fff;
		line-height: 20px;
		overflow: hidden;
		font-size: 14px;
		overflow: hidden;
		border-bottom: 1px solid #919191;
	}

	.Mylorderboximg {
		float: left;
	}

	.Mylorderboxdesc {
		height: 89px;
	}

	image {
		width: 84px;
		height: 84px;
	}

	.colornum {
		margin-top: 30px;
		line-height: 17px;
		color: rgba(153, 153, 153, 1);
		font-size: 12px;
		font-family: Arial;
	}

	.Mylorderrmb {
		color: rgba(242, 61, 82, 1);
		font-size: 14px;
		font-family: Arial;
		float: right;
		padding-right: 10px;
	}
</style>
